import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '单位名称',
    align: "center",
    dataIndex: 'itemName'
  },
  {
    title: '关联表类型（售后、服务）',
    align: "center",
    dataIndex: 'relationType'
  },

  {
    title: '产品内容',
    align: "center",
    dataIndex: 'productName'
  },

  {
    title: '执行人姓名',
    align: "center",
    dataIndex: 'executorName'
  },
  {
    title: '任务内容',
    align: "center",
    dataIndex: 'taskContent'
  },
  {
    title: '逻辑删除(0-未删除,1-已删除)',
    align: "center",
    dataIndex: 'isDeleted'
  },
];

// 高级查询数据
export const superQuerySchema = {
  itemName: {title: '单位名称',order: 0,view: 'text', type: 'string',},
  relationType: {title: '关联表类型（售后、服务）',order: 1,view: 'text', type: 'string',},

  productName: {title: '产品内容',order: 3,view: 'text', type: 'string',},

  executorName: {title: '执行人姓名',order: 5,view: 'text', type: 'string',},
  taskContent: {title: '任务内容',order: 6,view: 'textarea', type: 'string',},
  isDeleted: {title: '逻辑删除(0-未删除,1-已删除)',order: 7,view: 'number', type: 'number',},
};
